/*************************************************************************
 Copyright (C) Unpublished Unis Software, Inc. All rights reserved.
 Unis Software, Inc., Confidential and Proprietary.

 This software is subject to copyright protection
 under the laws of the Public of China and other countries.

 Unless otherwise explicitly stated, this software is provided
 by Unis "AS IS".
 *************************************************************************/
package com.unis.service.car;

import java.util.List;

import com.unis.model.BaseModel;
import com.unis.model.car.CarRepair;

/**
 * @author CSJ (email:raulcsj@163.com)
 * @since 2013-01-11
 */
public interface CarRepairService {

    /****************************************
     * Insert a instace of CarRepair
     ****************************************/
    void insert(CarRepair carrepair) throws Exception;

    /****************************************
     * Insert instaces of CarRepair
     ****************************************/
    void batchInsert(CarRepair carrepair) throws Exception;

    /****************************************
     * Delete a instace of CarRepair
     ****************************************/
    void delete(CarRepair carrepair) throws Exception;

    /****************************************
     * Delete instaces of CarRepair
     ****************************************/
    void batchDelete(CarRepair carrepair) throws Exception;

    /****************************************
     * Update a instace of CarRepair
     ****************************************/
    void update(CarRepair carrepair) throws Exception;

    /****************************************
     * Query instaces of CarRepair
     ****************************************/
    List<BaseModel> queryAsList(CarRepair carrepair) throws Exception;

    /****************************************
     * Query a instaces of CarRepair
     ****************************************/
    BaseModel queryAsObject(CarRepair carrepair) throws Exception;
}
